
  <div class="layui-form" lay-filter="layuiadmin-app-form-list" id="layuiadmin-app-form-list"style="padding: 20px 30px 0 0;">
    <div class="layui-form-item">
      <label class="layui-form-label">商品名称</label>
      <div class="layui-input-inline">
        <script type="text/html" template>
          <input type="text" name="goods_name" value="{{ d.params.title || '' }}" lay-verify="required" placeholder="请输入商品名" autocomplete="off" class="layui-input">
        </script>
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">商品价格</label>
      <div class="layui-input-inline">
        <script type="text/html" template>
          <input type="text" name="price" value="{{ d.params.author || '' }}" lay-verify="required" placeholder="请输入商品价格" autocomplete="off" class="layui-input">
        </script>
      </div>
    </div>
	<div class="layui-form-item">
	  <label class="layui-form-label">图片</label>
	  <div class="layui-input-inline">
	    <script type="text/html" template>
			<input type="text" name="picture" value="{{ d.params.author || '' }}" lay-verify="required" placeholder="请输入图片地址" autocomplete="off" class="layui-input">
	    </script>
	  </div>
	</div>
	<div class="layui-form-item">
	  <label class="layui-form-label">描述</label>
	  <div class="layui-input-inline">
	    <script type="text/html" template>
	      <input type="text" name="description" value="{{ d.params.author || '' }}" lay-verify="required" placeholder="请输入商品描述" autocomplete="off" class="layui-input">
	    </script>
	  </div>
	</div>
	<div class="layui-form-item">
	  <label class="layui-form-label">库存</label>
	  <div class="layui-input-inline">
	    <script type="text/html" template>
	      <input type="text" name="stock" value="{{ d.params.author || '' }}" lay-verify="required" placeholder="请输入库存" autocomplete="off" class="layui-input">
	    </script>
	  </div>
	</div>
	 <div class="layui-form-item">
	    <label class="layui-form-label">商品类型</label>
	    <div class="layui-input-inline">
	      <select id="category_id2" name="category_id" lay-filter="aihao">
			  <option value="">请选择分类</option>
	      </select>
	    </div>
	  </div>
     <div class="layui-form-item">
        <label class="layui-form-label">是否推荐</label>
        <div class="layui-input-block">
           <input type="checkbox" name="recommend" lay-skin="switch" lay-text="是|否">
        </div>
      </div>
	  
	  <div class="layui-form-item">
	     <label class="layui-form-label">是否上架</label>
	     <div class="layui-input-block">
	       <input type="checkbox" name="sale" lay-skin="switch" lay-text="是|否">
	     </div>
	   </div>
	   <script type="text/html" template>
		 <input type="hidden" name="goods_id" value="{{ d.params.good_id || '' }}">
	   </script>
    <div class="layui-form-item">
      <label class="layui-form-label"></label>
      <div class="layui-input-inline">
        <input type="button" lay-submit lay-filter="layuiadmin-app-form-submit" value="确认" class="layui-btn">
      </div>
    </div>
  </div>